package itcz.example.pattern.behavior_type.state.demo_AI;

/**
 * @ClassName: Lift
 * @Author: ITCZ
 * @Date: 2025-07-26
 * @Description: 状态类 - 具体状态角色
 */
public class StopState implements LiftState {

    @Override
    public void open() {
        System.out.println("正在开启电梯门...");
    }

    @Override
    public void close() {
        System.out.println("电梯门已是关闭状态");
    }

    @Override
    public void run() {
        System.out.println("电梯开始运行...");
    }

    @Override
    public void stop() {
        System.out.println("电梯已在停止状态");
    }
}
